package com.lzk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzk.domain.ResponseResult;
import com.lzk.domain.entity.Menu;

import javax.naming.spi.ResolveResult;
import java.util.List;



public interface MenuService extends IService<Menu> {

    List<String> selectPermsByUserId(Long id);

    List<Menu> selectRouterMenuTreeByUserId(Long userId);

    List<Menu> getMenuList(Menu menu);

    ResponseResult addMenu(Menu menu);

    ResponseResult selectMenuMes(long id);

    ResponseResult updateMenu(Menu menu);

    ResponseResult delectMenu(long menuid);

    //修改角色-根据角色id查询对应角色菜单列表树
    List<Long> selectMenuListByRoleId(Long roleId);


}
